﻿
namespace MediaPortal.GUI.iPlayer
{
    class Serie : Emission
    {
        public string host, lastEmissionUrl, plot, watched, image;

        public Serie(string title, string url) 
        {
            this.title = title;
            this.url = url;
        }

        public Serie(string title, string url, string host)
            : this(title, url)
        {
            this.host = host;
        }

        public Serie(string title, string url, string image, string host)
            : this(title, url)
        {
            this.image = image;
            this.host = host;
        }

        public Serie(string title, string url, string lastEmissionUrl, string plot, double rating, string watched, string image)
            : this(title, url)
        {
            this.lastEmissionUrl = lastEmissionUrl;
            this.plot = plot;
            this.rating = rating;
            this.watched = watched;
            this.image = image;
        }

        public override string ToString()
        {
            return "title: " + title + ", url: " + url + ", host: " + host + ", lastEmissionUrl: " + lastEmissionUrl
                + ", plot: " + plot + ", rating: " + rating + ", watched: " + watched + ", image: " + image;
        }

    }
}
